import request from '../utils/request'

//获取Oss上传凭证
export const getPolicyApi = () => request.get('/files/policy')

//获取文件url地址
export const getUrlApi = (fileName) => request.get('/files/getUrl', { params: { fileName } })
